package com.mall.activiti.service.impl;

import com.central.log.model.UserOperationLogEntity;
import com.central.log.service.UserOperationLogService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service("UserOperationLogServiceImpl")
public class UserOperationLogServiceImpl implements UserOperationLogService {
//
//    @Autowired
//    private UserOperationLogMapper userOperationLogMapper;
    @Override
    public Integer insert(UserOperationLogEntity log) {
//        log.setOperUserName(GlobalUserContext.getUser().getUsername());
//        log.setOperUserId(GlobalUserContext.getUser().getUserId());
//        return userOperationLogMapper.insert(log);
        return 1;
    }
}
